package com.cj.mobile.iabp.mvp.model.entity;

/**
 * 描述: 获取字典(诊断、手术、医生)
 * 创建者: 020-12-01
 * 创建者: 020-12-01
 */
public class DictInfo {

    public DictInfo() {
    }

    public DictInfo(DictInfo item) {
        this.id = item.getId();
        this.name = item.getName();
        this.parentId = item.getParentId();
        this.type = item.getType();
        this.code = item.getCode();
        this.value = item.getValue();
        this.orderNum = item.getOrderNum();
        this.remark = item.getRemark();
        this.createdAt = item.getCreatedAt();
        this.createdBy = item.getCreatedBy();
        this.changedAt = item.getChangedAt();
        this.changedBy = item.getChangedBy();
        this.version = item.getVersion();
        this.delFlag = item.getDelFlag();
    }

    public DictInfo(int id, String name, int parentId, String type, String code, String value, String orderNum, String remark, String createdAt, String createdBy, String changedAt, String changedBy, String version, String delFlag) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.type = type;
        this.code = code;
        this.value = value;
        this.orderNum = orderNum;
        this.remark = remark;
        this.createdAt = createdAt;
        this.createdBy = createdBy;
        this.changedAt = changedAt;
        this.changedBy = changedBy;
        this.version = version;
        this.delFlag = delFlag;
    }

    // 诊断id
    private int id;
    // 诊断名称
    private String name;
    // 父级id
    private int parentId;
    // 诊断类型
    private String type;
    private String code;
    // 诊断值
    private String value;
    private String orderNum;
    private String remark;
    private String createdAt;
    private String createdBy;
    private String changedAt;
    private String changedBy;
    private String version;
    private String delFlag;
    private boolean isCheckBox;

    public boolean isCheckBox() {
        return isCheckBox;
    }

    public void setCheckBox(boolean checkBox) {
        isCheckBox = checkBox;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getChangedAt() {
        return changedAt;
    }

    public void setChangedAt(String changedAt) {
        this.changedAt = changedAt;
    }

    public String getChangedBy() {
        return changedBy;
    }

    public void setChangedBy(String changedBy) {
        this.changedBy = changedBy;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
}
